package com.ncu.sports.service.Impl;

import com.ncu.sports.mapper.MMenuMapper;
import com.ncu.sports.pojo.MMenu;
import com.ncu.sports.service.MMenuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MMenuServiceImpl implements MMenuService {

    @Autowired
    private MMenuMapper mMenuMapper;
    @Override
    public List<MMenu> getMMenu() {
        List<MMenu> mMenu = mMenuMapper.getMMenu();
        return mMenu;
    }
}
